package com.gouaixin.bee.beeframework2.extra.im;

import java.io.Serializable;

public class ChatData implements Serializable {
	
	public static final int SEND = 1;//发送
	public static final int RECEIVER = 2;//接受
	private String content;//内容
	private int flag;//标签
	private String time;//时间
    private String fid;//发送方的id
    private String fname;//发送方的昵称

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    private String tid;//接受方的id

    public static int getSend() {
        return SEND;
    }

    public static int getReceiver() {
        return RECEIVER;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public ChatData() {

    }


    public ChatData(String content, int flag, String time) {
		setContent(content);
		setFlag(flag);
		setTime(time);
	}
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
}

